-
-
Notifications
You must be signed in to change notification settings - Fork 10.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Non-unicode IME support #3653
base: docking
Are you sure you want to change the base?
Non-unicode IME support #3653
Conversation
Thank you @Othereum for this PR. I have a question: what is the reason for testing |
Well, maybe https://docs.microsoft.com/en-us/windows/win32/intl/wm-ime-char As you can see here, if the project uses unicode character set, wParam has a unicode encoded value. Therefore, you just need to add the input immediately without any further action. |
Then I suggest you then remove that check and move the other function was it was previously to minimize the patch? About unicode checking, I have also been used to test the UNICODE define but I wonder if we should simply just called |
Oh, you're right. Then why don't we merge it into master branch instead of docking branch? Should I make a new PR? |
Yes it we only modify the msg handler i think it could be done as a new PR over master.
|
I retested it when I got home and it didn't work properly when I enabled UTF-8 support in the system locale settings. So I fixed it using the |
I'm still waiting for your review, @ocornut :D |
Hello, |
fyi: |
Is that something that realistically happen? |
@Othereum I wanted to look at this today but I am confused. I verified that my project compiles with:
Aka neither are defined. |
I am in the middle of moving, so don't have access to my notes, but if I recall correctly this is something that can happen when a window is subclassed, or flags of the window are altered. |
This PR adds IME support for non-unicode projects. Korean, Japanese, and Chinese are affected by this PR.